package trash.classloader;

///*
// * To change this template, choose Tools | Templates
// * and open the template in the editor.
// */
//package jsystem.jbrowser.classloader;
//
//import java.io.IOException;
//import java.io.InputStream;
//import java.io.ObjectInputStream;
//import java.io.ObjectStreamClass;
//
///**
// *
// * @author buczko
// */
//public class ClassLoaderObjectInputStream extends ObjectInputStream {
//
//    private ClassLoader loader;
//
//    public ClassLoaderObjectInputStream(InputStream in, ClassLoader loader) throws IOException {
//        super(in);
//        this.loader = loader;
//    }
//
//    @Override
//    public Class<?> resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException {
//        return Class.forName(desc.getName(), false, loader);
//    }
//}
